/**
 * @Author: yy
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-11-26 17:03:51
 */
//基盘任务跟进
import axios from '@/api/fetch';
import SERVER from '@/api/server';
//  查询线索信息
export const getReviewRelateAudit = params => axios.get(`${SERVER.CYXDMS_CLUE}/clueauditDisc/getReviewRelateAudit`, { params });
// 无效战败激活
export const clueActive = params => axios.post(`${SERVER.CYXDMS_CLUE}/clueaudit/clueActive`, params);
//批准
export const setPlateApprove = params => axios.post(`${SERVER.CYXDMS_CLUE}/clueauditDisc/setPlateApprove`, params);

//驳回
export const setPlateTurnDown = params => axios.post(`${SERVER.CYXDMS_CLUE}/clueauditDisc/setPlateTurnDown`, params);

//分配
export const setPlateDistribution = params => axios.post(`${SERVER.CYXDMS_CLUE}/clueauditDisc/setPlateDistribution`, params);
// 查询展厅顾问
// export const getConsultant = params => axios.get(`${SERVER.CYXDMS_CLUE}/appoint/getConsultant`);
export const getUsersByPosition = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getUsersByPosition`, { params } );




